package com.community.common.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class VisitorCondition implements Serializable {

    private static final long serialVersionUID = 4311900449460259647L;
    /**
     * 来访人姓名
     */
    private String visitorName;


    /**
     * 被拜访人姓名
     */
    private String visitedName;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dayTime;

}
